package com.vito.dcs.tendersOvervie.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.vito.base.model.DataGrid;
import com.vito.dcs.tendersOvervie.dao.StatisticalIntegrationPileKeyMapper;
import com.vito.dcs.tendersOvervie.dao.TendersOverviewMapper;
import com.vito.dcs.tendersOverview.Service.TendersOverviewService;
import com.vito.dcs.tendersOverview.model.PileGpsModel;
import com.vito.dcs.tendersOverview.model.StatisticalIntegrationPileKeyModel;
import com.vito.dcs.tendersOverview.model.TendersOverviewModel;

@Service
public class TendersOverviewServiceImpl implements TendersOverviewService {
    
	@Autowired
	TendersOverviewMapper tendersOverviewMapper;
	
	@Autowired
	StatisticalIntegrationPileKeyMapper statisticalIntegrationPileKeyMapper;
	
	@Override
	public TendersOverviewModel getTendersOverviewTotalS(
			TendersOverviewModel tendersOverviewModel) {
		return tendersOverviewMapper.getTendersOverviewTotalS(tendersOverviewModel);
	}

	@Override
	public TendersOverviewModel getTendersOverviewTotalL(
			TendersOverviewModel tendersOverviewModel) {
		return tendersOverviewMapper.getTendersOverviewTotalL(tendersOverviewModel);
	}

	@Override
	public  List<StatisticalIntegrationPileKeyModel> getLatelyPileKey(
			StatisticalIntegrationPileKeyModel statisticalIntegrationPileKeyModel) {
		return statisticalIntegrationPileKeyMapper.getLatelyPileKey(statisticalIntegrationPileKeyModel);
	}

	@Override
	public List<PileGpsModel> getAllPileKey(PileGpsModel pileGpsModel) {
		return statisticalIntegrationPileKeyMapper.getAllPileKey(pileGpsModel);
	}
	

}
